package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 道具卡资产表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CardAssets对象", description="道具卡资产表")
public class CardAssets implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "用户id")
    private Integer targetId;

    @ApiModelProperty(value = "链接类型")
    private String targetType;

    @ApiModelProperty(value = "卡券名")
    private String name;

    @ApiModelProperty(value = "卡券代码")
    private String type;

    @ApiModelProperty(value = "精度，默认为0。 即单位为1")
    private Integer precision;

    @ApiModelProperty(value = "数量")
    private Long balance;

    @ApiModelProperty(value = "冻结的数量")
    private Long frozen;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
